import request from '@/utils/request'

//获取导航栏
export function getMenu() {
  return request({
    url: '/user/getMenu',
    method: 'get',
  })
}


//获取菜单下的按钮权限
export function getButtonPermission(menucode) {
  return request({
    url: '/actor/getButtonPermission/' + menucode,
    method: 'get',
  })
}

export function test() {
  return request({
    url: '/user/test',
    method: 'get',
  })
}
